@charset "utf-8";

@keyframes titleAnimation {
  0% {
    letter-spacing: .3em;
    opacity: 0;
  }
}

body {
  background-color: #0000cc;
  color: #fff;
  font-family: serif;
  text-align: center;
  letter-spacing:2px;
}

.contents {
  display: flex;
  color: #0000e6;
  justify-content: center;
  font-size: 20px;
  align-items: center;
}

.contents li {
  background-color: #0000cc;
  width: 200px;
  height: 60px;
  padding: 2px;
  list-style: none;
  margin-left: 10px;
 }

a {
 color:#fff;
 text-decoration: none;
 transition: background-color 0.3s ease
 padding: 4px;
}

a:hover {
 background-color: #ddd;
}

@media only screen and (min-width: 480px) {
 .sp-menu {
   display: none;
  }

 .sp-menu2 {
   display: none;
 }
}

@media only screen and (max-width: 479px) {
 .sp-menu {
   width: 40px;
   height: 40px;
  }

}

.menu-icon {
  width: 30px;
  height: 30px;
  font-size: 25px;
}
 

.sp-menu #open.hide {
  display: none;
}

.overlay span {
 top: 100px;
}

.overlay {
  position: fixed;
  /* ここにとどめる */
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  margin-left: 0px;
  margin-top: 0px;
  padding: 5px;
  border-radius: 5px;
  background: rgba(255,255,255,0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .9S;
  z-index: 1;
}

.overlay.show {
  opacity: 5;
  pointer-events: auto;
  z-index: 3;
  width: 370px;
  height:930px;
}

.overlay #close {
  position: absolute;
  /* これが大事 */
  color: #333;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.overlay ul{
  list-style:  none;
  margin-top: 50px;
   text-align: left;
  font-size: 15px;
  padding: 10;
}

.overlay li{
 margin-top:5px;
 opacity: 0;
 transition:  opacity .3s, transfrom .3s;
}

.overlay li a {
  color: #333;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1S;
}
.overlay.show li:nth-child(2) {
  transition-delay: .2S;
}
.overlay.show li:nth-child(3) {
  transition-delay: .3S;
}


@media only screen and (max-width: 480px) {
  .contents {
   display: none;
 }
}


.menu {
  position: relative;
    /* ↑画像の場所 */
  height: 100%; 
  background-attachment: fixed;
    /* ↑後ろの写真の固定 */
  background-position: center;
  background-size: cover;
    /* ↑画面一杯に配置 */
  background-repeat: no-repeat;
    /* ↑何かの命令の打消し */
}

.menu h1 {
  color:#fff;
  text-shadow: -1px -1px 1px #808080,1px 1px 1px #808080;
  font-size: 100px;
  text-align: center;
  position: fixed;
  /* ↑矢印場所の話 */
  width :100%;
  top: 30%;
  animation: titleAnimation 1.5s;


}

.menu p {
  font-size: 40px;
  text-shadow: -0.5px -0.5px 0.5px #808080,0.5px 0.5px 0.5px #808080;
  text-align: center;
  position: fixed;
  /* ↑矢印場所の話 */
  width :100%;
  top: 30%;
  z-index: 1;

}

@media only screen and (min-width: 480px) and (max-width: 1100px) {

.contents li {
  font-size: 20px;
}


.menu {
    font-size: 15px;
    margin-left: 0px;
    display: block;
    }

 .menu h1 {
    font-size: 60px;
    text-align: center;
    top: 150px;
    width: 100%;
   }

 .menu p {
    font-size: 25px;
    text-align: center;
    top: 150px;
    width: 100%;
   }


}

@media only screen and (max-width: 480px) {
  .menu {
    font-size: 12px;
    margin-left: -40px;
    display: block;
    }

 .menu h1 {
    font-size: 40px;
    text-align: center;
    top: 60px;
    width: 480px;
   }

 .menu p {
    font-size: 20px;
    text-align: center;
    top: 70px;
    width: 480px;
   }

}


.menu a {
  color: #fff;
}

img {
  z-index: 0;
  width: 1200px;
  
}

@media only screen and (min-width: 480px) and (max-width: 1100px) {
 
img {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
  }

}

@media only screen and (max-width: 480px) {
  img {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
  }
}


.content {
  position: relative;
  z-index: 2;
  height:800px;
  font-size:23px;
  background: #fff;
  color: #333;
  padding: 100px 20px;
  
}

.table {
 display: flex;
 text-align : center;
 justify-content: center;
}

.content td {
 text-align: left;
 
}

.content a {
 color:#000080;

}

.text {
  margin-top: 120px;
 }


.info {
 font-size:18px;
 width: 1400px;
 text-align: left;
 margin: 0 auto;
}


@media only screen and (min-width: 480px) and (max-width: 1100px) {

.content {
    font-size: 18px;
    width: 500pxpx;
    height: 700px;
    text-align :initial;
    padding: 80px 80px;

    }
 .info {
 font-size:16px;
 width: 800px;
 }


}

@media only screen and (max-width: 480px) {
  .content {
    font-size: 10px;
    width: 100%;
    height: 600px;
    text-align :initial;
    padding: 70px 5px;

    }

   .content h2 {
    font-size: 15px;
    margin-top: -30px;
    }

   .content h3 {
    font-size: 11px;
    flex-wrap:wrap;
    
    }

   .content p {
    font-size: 11px;
    width: 270px;
    text-align :initial;

    }

   .text {
     margin-top: 55px;
     display: flex;
     text-align : center;
     justify-content: center;
    }

   .text h2 {
     font-size: 20px;
    }


  .info {
    font-size:13px;
    width: 380px;
    display: flex;
    text-align : center;
    justify-content: center;

   }


}


.content1 {
  position: relative;
  z-index: 2;
  height:400px;
  font-size:30px;
  background: #fff;
  color: #333;
  padding: 100px 20px;
  text-align :center;
 }

.content1 p {
  width: 350px;
  margin-left: auto; margin-right: auto;
  font-size: 25px;
  text-align :initial;
}

@media only screen and (min-width: 480px) and (max-width: 1100px) {

.content1 {
    font-size: 10px;
    width: 100%;
    height: 100px;
    padding: 70px 5px;
    
    }
    .content1 h2 {
     font-size: 22px;
     margin-left: -50px;
     margin-top: -50px;
    }

    .content1 p {
     font-size: 14px; 
     width: 250px;
    }


}


@media only screen and (max-width: 480px) {
  .content1 {
    font-size: 10px;
    width: 100%;
    height: 70px;
    padding: 70px 5px;
    
    }
    .content1 h2 {
     font-size: 15px;
     margin-top: -50px;
    }

    .content1 p {
     font-size: 10px; 
     width: 150px;
    }

}



footer {
  color:#fff;
  margin:100px 0;
}

@media only screen and (max-width: 480px) {
  .content2 h2 {
    font-size: 15px; 
   }
}
